package com.zhixin.fans.ks.dagger.modules;


import com.zhixin.fans.ks.CoupleApp;
import com.zhixin.fans.ks.manager.UserInfoManager;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Eenie on 2017/5/3.
 * Email: eeniework@gmail.com
 * Des:
 */

@Module
public class CoupleAppModule {

    private CoupleApp mApp;

    public CoupleAppModule(CoupleApp app) {
        this.mApp = app;
    }


    @Singleton
    @Provides
    public CoupleApp provideApp() {
        return mApp;
    }

    @Singleton
    @Provides
    public UserInfoManager providerUserInfoManager() {
        return new UserInfoManager();
    }



}
